﻿using MRSite.AutoMapper.Attributes;
using MRSite.Entity;
using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MRSite.EntityDto
{
    [AutoMapBoth(typeof(Transfer))]
    [ProtoContract]
    public class TransferDto
    {
        [ProtoMember(1)] 
        public int id { get; set; }

        [ProtoMember(2)]
        public int zzuserid { get; set; }

        [ProtoMember(3)]
        public string zzusername { get; set; }

        [ProtoMember(4)]
        public string zzmobile { get; set; }

        [ProtoMember(5)]
        public string zzrealname { get; set; }

        [ProtoMember(6)]
        public int mbuserid { get; set; }

        [ProtoMember(7)]
        public string mbusername { get; set; }

        [ProtoMember(8)]
        public string mbmobile { get; set; }

        [ProtoMember(9)]
        public string mbrealname { get; set; }

        [ProtoMember(10)]
        public Decimal fee { get; set; }

        [ProtoMember(11)]
        public String feetype { get; set; }

        [ProtoMember(12)]
        public String typefee { get; set; }

        [ProtoMember(13)]
        public String remark { get; set; }

        [ProtoMember(14)]
        public DateTime addtime { get; set; }

        [ProtoMember(15)]
        public Decimal sfamount { get; set; }

        [ProtoMember(16)]
        public Decimal handlingfee { get; set; }

        [ProtoMember(17)]
        public Decimal rates { get; set; }

        [ProtoMember(18)]
        public Decimal price { get; set; }

        [ProtoMember(19)]
        public int status { get; set; }

        [ProtoMember(20)]
        public DateTime? checktime { get; set; }

        [ProtoMember(21)]
        public int returnstatus { get; set; }

        [ProtoMember(22)]
        public DateTime? returntime { get; set; }

        [ProtoMember(23)]
        public CustomerDto ZzCustomerItem { get; set; }
    }
}
